<div class="list">
	<h1>クライアント</h1>

	<table>
		<thead>
			<tr>
				<th>クライアント</th>
				<th class="edit"></th>
				<th class="delete"></th>
			</tr>
		</thead>
		<tbody>
		     <?php foreach ($clients as $client): ?>
			<tr>
				<td><?php echo $client->getName() ?></td>
				<td class="edit"><a href="<?php echo url_for("client/edit?id=".$client->getId())?>"><img></img></a></td>
				<td class="delete"><?php echo link_to('<img></img>', 'client/delete?id='.$client->getId(), array('method' => 'delete', 'confirm' => 'Are you sure?'))?></td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>

</div>
<div class="new">
	<h1>クライアントの登録</h1>

	<?php include_partial('form', array('form' => $form)) ?>

</div>
